export const adminRoute = [
  {
    path: '/',
    component: () => import('@/layout/index.vue'),
    name: 'layout',
    meta: {
      title: '',
      hidden: false,
      icon: ''
    },
    redirect: '/home',
    children: [
      {
        path: '/home',
        component: () => import('@/views/home/index.vue'),
        meta: {
          title: '首页',
          hidden: false,
          icon: 'House'
        }
      }
    ]
  },
  // {
  //   path: '/data',
  //   component: () => import('@/layout/index.vue'),
  //   name: 'data',
  //   redirect: '/data/datamanage',
  //   meta: {
  //     title: '数据模块',
  //     icon: 'Goods',
  //     hidden: false
  //   },
  //   children: [
  //     {
  //       path: '/data/datamanage',
  //       component: () => import('@/views/data/datamanage/index.vue'),
  //       name: 'datamanage',
  //       meta: {
  //         title: '数据维护',
  //         icon: 'ShoppingCartFull',
  //         hidden: false
  //       }
  //     },
  //   ]
  // },
  {
    path: '/OperationCenter',
    component: () => import('@/layout/index.vue'),
    name: 'OperationCenter',
    meta: {
      title: '运营中心',
      icon: 'Aim',
      hidden: false,
    },
    redirect: '/OperationCenter/storage',
    children: [
      {
        path: '/OperationCenter/storage',
        component: () => import('@/views/OperationCenter/storage/index.vue'),
        name: 'OperationCenterstorage',
        meta: {
          title: '仓储部',
          hidden: false,
          icon: 'Connection'
        }
      },
      {
        path: '/OperationCenter/ProbeProduction',
        component: () => import('@/views/OperationCenter/ProbeProduction/index.vue'),
        name: 'ProbeProduction',
        meta: {
          title: '探针生产部',
          hidden: false,
          icon: 'Crop'
        }
      },
      {
        path: '/OperationCenter/productionPlan',
        component: () => import('@/views/OperationCenter/productionPlan/index.vue'),
        name: 'productionPlan',
        meta: {
          title: '生产计划',
          hidden: false,
          icon: 'PriceTag'
        }
      },
      {
        path: '/OperationCenter/SMTProduction',
        component: () => import('@/views/OperationCenter/SMTProduction/index.vue'),
        name: 'SMTProduction',
        meta: {
          title: 'SMT生产部',
          hidden: false,
          icon: 'Box'
        }
      }
    ]
  },
  {
    path: '/supportCenter',
    component: () => import('@/layout/index.vue'),
    name: 'supportCenter',
    meta: {
      title: '支持中心',
      icon: 'Brush',
      hidden: false,
    },
    redirect: '/supportCenter/hrAdmine',
    children: [
      {
        path: '/supportCenter/hrAdmine',
        component: () => import('@/views/supportCenter/hrAdmine/index.vue'),
        name: 'hrAdmine',
        meta: {
          title: '人资行政部',
          hidden: false,
          icon: 'Bowl'
        }
      },
      {
        path: '/supportCenter/it',
        component: () => import('@/views/supportCenter/it/index.vue'),
        name: 'it',
        meta: {
          title: '资讯部',
          hidden: false,
          icon: 'Bicycle'
        }
      },
      {
        path: '/supportCenter/finance',
        component: () => import('@/views/supportCenter/finance/index.vue'),
        name: 'finance',
        meta: {
          title: '财务部',
          hidden: false,
          icon: 'Calendar'
        }
      },
      {
        path: '/supportCenter/purchase',
        component: () => import('@/views/supportCenter/purchase/index.vue'),
        name: 'purchase',
        meta: {
          title: '采购部',
          hidden: false,
          icon: 'BottomLeft'
        }
      }
    ]
  },
  {
    path: '/marketDevelopment',
    component: () => import('@/layout/index.vue'),
    name: 'marketDevelopment',
    meta: {
      title: '市场开发中心',
      icon: 'Cellphone',
      hidden: false,
    },
    redirect: '/marketDevelopment/applicationEngineering',
    children: [
      {
        path: '/marketDevelopment/applicationEngineering',
        component: () => import('@/views/marketDevelopment/applicationEngineering/index.vue'),
        name: 'applicationEngineering',
        meta: {
          title: '应用工程部  ',
          hidden: false,
          icon: 'Cloudy'
        }
      },
      {
        path: '/marketDevelopment/sale',
        component: () => import('@/views/marketDevelopment/sale/index.vue'),
        name: 'sale',
        meta: {
          title: '销售部',
          hidden: false,
          icon: 'CollectionTag'
        }
      }
    ]
  },
  {
    path: '/testBoard',
    component: () => import('@/layout/index.vue'),
    name: 'testBoard',
    meta: {
      title: '测试版产品中心',
      icon: 'Collection',
      hidden: false,
    },
    redirect: '/testBoard/product',
    children: [
      {
        path: '/testBoard/product',
        component: () => import('@/views/testBoard/product/index.vue'),
        name: 'testBoardproduct',
        meta: {
          title: '测试板产品部  ',
          hidden: false,
          icon: 'DataBoard'
        }
      },
      {
        path: '/testBoard/scheme',
        component: () => import('@/views/testBoard/scheme/index.vue'),
        name: 'scheme',
        meta: {
          title: '测试方案部',
          hidden: false,
          icon: 'Coin'
        }
      }
    ]
  },
  {
    path: '/ceramicFilmProduction',
    component: () => import('@/layout/index.vue'),
    name: 'ceramicFilmProduction',
    meta: {
      title: '陶瓷薄膜产品中心',
      icon: 'Dessert',
      hidden: false,
    },
    redirect: '/ceramicFilmProduction/product',
    children: [
      {
        path: '/ceramicFilmProduction/product',
        component: () => import('@/views/ceramicFilmProduction/product/index.vue'),
        name: 'product',
        meta: {
          title: '陶瓷薄膜生产部  ',
          hidden: false,
          icon: 'DeleteLocation'
        }
      },
      {
        path: '/ceramicFilmProduction/R&D',
        component: () => import('@/views/ceramicFilmProduction/R&D/index.vue'),
        name: 'R&D',
        meta: {
          title: '陶瓷薄膜研发部',
          hidden: false,
          icon: 'Failed'
        }
      }
    ]
  },
  {
    path: '/R&DCenter',
    component: () => import('@/layout/index.vue'),
    name: 'R&DCenter',
    meta: {
      title: '研发中心',
      icon: 'Dish',
      hidden: false,
    },
    redirect: '/R&DCenter/simulation',
    children: [
      {
        path: '/R&DCenter/simulation',
        component: () => import('@/views/R&DCenter/simulation/index.vue'),
        name: 'simulation',
        meta: {
          title: '系统方案及仿真部  ',
          hidden: false,
          icon: 'Discount'
        }
      },
      {
        path: '/R&DCenter/equipmentDevelopment',
        component: () => import('@/views/R&DCenter/equipmentDevelopment/index.vue'),
        name: 'equipmentDevelopment',
        meta: {
          title: '设备开发部',
          hidden: false,
          icon: 'DocumentChecked'
        }
      },
      {
        path: '/R&DCenter/SOC',
        component: () => import('@/views/R&DCenter/SOC/index.vue'),
        name: 'SOC',
        meta: {
          title: 'SOC探针卡产品部',
          hidden: false,
          icon: 'DocumentAdd'
        }
      },
      {
        path: '/DCenter/equipmentDevelopment',
        component: () => import('@/views/R&DCenter/storage/index.vue'),
        name: 'equipmentDevelopment',
        meta: {
          title: '存储探针卡产品部',
          hidden: false,
          icon: 'DocumentRemove'
        }
      },
      {
        path: '/DCenter/ProbeAndAging',
        component: () => import('@/views/R&DCenter/ProbeAndAging/index.vue'),
        name: 'ProbeAndAging',
        meta: {
          title: '探针及老化工艺部',
          hidden: false,
          icon: 'DataAnalysis'
        }
      },
      {
        path: '/DCenter/ceramicFilm',
        component: () => import('@/views/R&DCenter/ceramicFilm/index.vue'),
        name: 'ceramicFilm',
        meta: {
          title: '陶瓷薄膜研发部',
          hidden: false,
          icon: 'Drizzling'
        }
      }
    ]
  },
  {
    path: '/engineeringManage',
    component: () => import('@/layout/index.vue'),
    name: 'engineeringManage',
    meta: {
      title: '工程管理中心',
      icon: 'Document',
      hidden: false,
    },
    redirect: '/engineeringManage/project',
    children: [
      {
        path: '/engineeringManage/project',
        component: () => import('@/views/engineeringManage/project/index.vue'),
        name: 'project',
        meta: {
          title: '项目工程部  ',
          hidden: false,
          icon: 'Film'
        }
      },
      {
        path: '/engineeringManage/EHS',
        component: () => import('@/views/engineeringManage/EHS/index.vue'),
        name: 'EHS',
        meta: {
          title: 'EHS',
          hidden: false,
          icon: 'Finished'
        }
      },
      {
        path: '/engineeringManage/facility',
        component: () => import('@/views/engineeringManage/facility/index.vue'),
        name: 'facility',
        meta: {
          title: '厂务工程部',
          hidden: false,
          icon: 'DataLine'
        }
      },
      {
        path: '/engineeringManage/device',
        component: () => import('@/views/engineeringManage/device/index.vue'),
        name: 'device',
        meta: {
          title: '设备部',
          hidden: false,
          icon: 'Filter'
        }
      }
    ]
  },
  {
    path: '/qualityCenter',
    component: () => import('@/layout/index.vue'),
    name: 'qualityCenter',
    meta: {
      title: '质量中心',
      icon: 'Flag',
      hidden: false,
    },
    redirect: '/qualityCenter/qualityAssurance',
    children: [
      {
        path: '/qualityCenter/qualityAssurance',
        component: () => import('@/views/qualityCenter/qualityAssurance/index.vue'),
        name: 'qualityAssurance',
        meta: {
          title: '品质保证部  ',
          hidden: false,
          icon: 'FolderChecked'
        }
      },
      {
        path: '/qualityCenter/qualityManage',
        component: () => import('@/views/qualityCenter/qualityManage/index.vue'),
        name: 'qualityManage',
        meta: {
          title: '品质管理部',
          hidden: false,
          icon: 'FirstAidKit'
        }
      }
    ]
  },
  {
    path: '/applicationCenter',
    component: () => import('@/layout/index.vue'),
    name: 'applicationCenter',
    redirect: '/applicationCenter/materialQuotation',
    meta: {
      title: '应用中心',
      icon: 'Goods',
      hidden: false
    },
    children: [
      {
        path: '/applicationCenter/materialQuotation',
        component: () => import('@/views/ApplicationCenter/materialQuotation/index.vue'),
        name: 'materialQuotation',
        meta: {
          title: '物料报价',
          icon: 'ShoppingCartFull',
          hidden: false
        }
      },
    ]
  },
  {
    path: '/Sys',
    component: () => import('@/layout/index.vue'),
    name: 'Sys',
    redirect: '/sys/data',
    meta: {
      title: '系统维护',
      icon: 'Goods',
      hidden: false
    },
    children: [
      {
        path: '/sys/user',
        component: () => import('@/views/sys/user/index.vue'),
        name: 'sysuser',
        meta: {
          title: '用户管理',
          icon: 'Avatar',
          hidden: false
        }
      },
      {
        path: '/sys/permission',
        component: () => import('@/views/sys/permission/index.vue'),
        name: 'syspermission',
        meta: {
          title: '权限管理',
          icon: 'Lock',
          hidden: false
        }
      },
      {
        path: '/sys/data',
        component: () => import('@/views/sys/datamanage/index.vue'),
        name: 'sysdata',
        meta: {
          title: '数据维护',
          icon: 'ShoppingCartFull',
          hidden: false
        }
      },
      // {
      //   path: '/sys/dataMonitor',
      //   component: () => import('@/views/sys/dataMonitor/index.vue'),
      //   name: 'sysdataMonitor',
      //   meta: {
      //     title: '数据监控',
      //     icon: 'Burger',
      //     hidden: false
      //   }
      // }
    ]
  },
  {
    path: '/dataMonitor',
    component: () => import('@/views/sys/dataMonitor/index.vue'),
    name: 'dataMonitor',
    meta: {
      hidden: false,
      title: '数据监控',
      icon: 'Platform'
    }
  },
]
